$OpenBSD: patch-setup_py,v 1.1 2017/04/23 17:27:39 shadchin Exp $
--- setup.py.orig	Sun Apr 23 22:03:09 2017
+++ setup.py	Sun Apr 23 22:07:49 2017
@@ -87,19 +87,6 @@ install_requires = setuptools_args['install_requires']
     'tornado>=4.0',
 ]
 
-if any(a.startswith(('bdist', 'build', 'install')) for a in sys.argv):
-    from ipykernel.kernelspec import write_kernel_spec, make_ipkernel_cmd, KERNEL_NAME
-
-    argv = make_ipkernel_cmd(executable='python')
-    dest = os.path.join(here, 'data_kernelspec')
-    if os.path.exists(dest):
-        shutil.rmtree(dest)
-    write_kernel_spec(dest, overrides={'argv': argv})
-
-    setup_args['data_files'] = [
-        (pjoin('share', 'jupyter', 'kernels', KERNEL_NAME), glob(pjoin(dest, '*'))),
-    ]
-
 extras_require = setuptools_args['extras_require'] = {
     'test:python_version=="2.7"': ['mock'],
     'test': ['nose_warnings_filters', 'nose-timer'],
